package com.april.product.converter;

import com.april.product.entity.AttrGroupEntity;
import com.april.product.model.vo.AttrGroupVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Package : com.april.product.converter
 * @Author : xz
 * @Date : 2023-07-19 22:29
 * @Desc :
 */
@Mapper
public interface AttrGroupConverter {
    AttrGroupConverter INSTANCES = Mappers.getMapper(AttrGroupConverter.class);

    AttrGroupVo toAttrGroupVo(AttrGroupEntity attrEntity);
    List<AttrGroupVo> toAttrGroupVo(List<AttrGroupEntity> attrEntity);
}
